package com.parking.mgr.useraccount.model.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.parking.mgr.common.dbs.BaseMapper;
import com.parking.mgr.useraccount.model.entity.BasicMenuEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName BasicMenuMapper
 * @Description 功能菜单mapper接口
 * @Auther: zhijianpu
 * @Date: 2023/5/19
 */
@Mapper
public interface BasicMenuMapper extends BaseMapper<BasicMenuEntity> {

    List<BasicMenuEntity> selectTreeMenuE(@Param(Constants.WRAPPER) Wrapper wrapper);

    List<BasicMenuEntity> selectNoUserTreeMenuE(@Param(Constants.WRAPPER) Wrapper wrapper);
}
